import React, { Component } from 'react'

export default class Cat extends Component {
  render () {
    return (
      <div>
        <img
          style={{
            width: 100,
            height: 100,
            position: 'absolute',
            left: this.props.position.x,
            top: this.props.position.y
          }}
          src='https://img2.baidu.com/it/u=684032202,3365084122&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500'
        />
      </div>
    )
  }
}
